<%@ page language="java" contentType="text/html; charset=UTF-8"
         pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jstl/core_rt"%>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="f"%>
<%@ taglib uri="/mytag" prefix="yjd"%>
<div class="wrap">
    <div class="nav">
        <div class="return">
            <a href='<yjd:url url="/commodit/list"/>'>返回上一级</a>
        </div>
    </div>
    <form method="post" enctype="multipart/form-data" class="J_ajaxForm" autocomplete="off" action='<yjd:url url="/commodit/check/submit"/>'>
        <input type="hidden" name="id" value="${commodit.id}">
        <input type="hidden" name="org_id" value="${commodit.org_id}">
        <div class="table_full">
            <table width="100%">
                <tr>
                    <th width="100">商品名称</th>
                    <td>
                        <input type="hidden" name="project_name" value="${commodit.project_name}">
                        ${commodit.project_name}
                    </td>
                    <td><div class="fun_tips"></div></td>
                </tr>
                <tr>
                    <th>商品图片</th>
                    <td>
                        <input type="hidden" name="project_pic" value="${commodit.project_pic}">
                        <img id="project_pic" src="${commodit.strMap.picUrl}" />
                    </td>
                    <td><div class="fun_tips"></div></td>
                </tr>
                <tr>
                    <th>类目</th>
                    <td>
                        <input type="hidden" name="category_id" value="${commodit.category_id}">
                        ${commodit.strMap.category}
                    </td>
                    <td><div class="fun_tips"></div></td>
                </tr>
                <tr>
                    <th>商品详情</th>
                    <td>
                        <input type="hidden" name="intro" value="${commodit.intro}">
                        ${commodit.intro}
                    </td>
                    <td><div class="fun_tips"></div></td>
                </tr>
                <tr>
                    <th>售价</th>
                    <td>
                        <input type="hidden" name="project_price" value="${commodit.project_price}">
                        ${commodit.project_price} 元
                    </td>
                    <td><div class="fun_tips"></div></td>
                </tr>
                <tr>
                    <th>服务次数</th>
                    <td>
                        <input type="hidden" name="times" value="${commodit.times}">
                        ${commodit.times} 次</td>
                    <td><div class="fun_tips"></div></td>
                </tr>
                <tr>
                    <th>服务时长</th>
                    <td>
                        <input type="hidden" name="times" value="${commodit.time_limit}">
                        ${commodit.time_limit}个月
                    </td>
                </tr>
                <tr>
                    <th>审核</th>
                    <td>
                        <input name="status" type="radio" value="1" checked>保存并通过 &nbsp;&nbsp;
                        <input name="status" type="radio" value="2">拒绝
                    </td>
                </tr>
            </table>
        </div>
        <div class="btn_wrap">
            <div class="btn_wrap_pd">
                <button class="btn btn_submit mr10 J_ajax_submit_btn" type="submit">提交</button>
            </div>
        </div>
    </form>
</div>
